import os
import sys
from flask import Flask

pathApp = os.getcwd()
print(pathApp)
sys.path.append(pathApp + '/app/')
from app.workDB import WDB

app = Flask(__name__,
            static_folder='static',
            template_folder='templates')

db = WDB(pathApp + '/app/data_yookassa.db')
my_session = {'idea': {'idIdea': '',
                       'textIdea': '',
                       'sourceIdea': '',
                       'tagIdea': ''
                       }}

from app import routes
